<!DOCTYPE html>
<html>

<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName" value="${message(code: 'territoryTeam.label', default: 'TerritoryTeam')}"/>
    <title>${this.territoryTeam?.territory?.name}详情</title>
</head>

<body class="fixed-navbar fixed-sidebar">
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>Next CRM</li>
                    <li>
                        <g:link controller="territoryTeam" action="index">区域详情</g:link>
                    </li>
                    <li class="active">
                        <span>${this.territoryTeam?.territory?.name}</span>
                    </li>
                </ol>
            </div>

            <h2 class="font-light m-b-xs">
                区域详情
            </h2>
        </div>
    </div>
</div>

<div class="content animate-panel">
    <div class="row">
        <div class="hpanel hblue">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link class="btn btn-info btn-xs" action="edit" resource="${this.territoryTeam}">
                        <i class="fa fa-edit"></i>编辑
                    </g:link>
                </div>
                ${this.territoryTeam?.territory?.name}详情
            </div>

            <div class="panel-body form-horizontal">
                <div class="form-group row">
                    <label class="col-md-3 control-label">区域名称</label>

                    <div class="col-md-4">
                        <span class="cont">${this.territoryTeam?.territory?.name}</span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

                <div class="form-group row">
                    <label class="col-md-3 control-label">用户名称</label>

                    <div class="col-md-4">
                        <span class="cont">${this.territoryTeam?.user}</span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

                <div class="form-group row">
                    <label class="col-md-3 control-label">开始时间</label>

                    <div class="col-md-4">
                        <span class="cont">
                            <g:formatDate date="${this.territoryTeam?.startTime}"
                                          format="yyyy-MM-dd"></g:formatDate>

                        </span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

                <div class="form-group row">
                    <label class="col-md-3 control-label">结束时间</label>

                    <div class="col-md-4">
                        <g:formatDate date="${this.territoryTeam?.endTime}"
                                      format="yyyy-MM-dd"></g:formatDate>
                    </div>
                </div>

                <div class="form-group row">
                    <label class="col-md-3 control-label">布局</label>

                    <div class="col-md-3">
                        <span class="cont">${this.territoryTeam?.opportunityLayout?.description}</span>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>
